#include<stdio.h>
#include<stdlib.h>
#include<windows.h>

int main()
{
    char *string = "INSERT INTO kv VALUES (";
    char *sql = (char *) calloc(23 + 50 + 200, sizeof(char));
    char *key = "iqn_key";
    char *value = "iqn_value";
    sprintf(sql, "%s%s, %s)", string, key, value);
    printf("%s", sql);
    system("pause");
    return 0;
}